import { axios } from '@/utils/request'

export function conf(data) {
  return axios({
    url: '/pospal/conf/conf',
    method: 'post',
    data
  })
}

export function confSave(data) {
  return axios({
    url: '/pospal/conf/conf-save',
    method: 'post',
    data
  })
}

export function orderPospallist(data) {
  return axios({
    url: '/pospal/index/order-pospal-list',
    method: 'post',
    data
  })
}


export function importProduct(data) {
  return axios({
    url: '/pospal/index/import-product',
    method: 'post',
    data
  })
}


export function importProductImg(data) {
  return axios({
    url: '/pospal/index/import-product-img',
    method: 'post',
    data
  })
}

export function importUser(data) {
  return axios({
    url: '/pospal/index/import-user',
    method: 'post',
    data
  })
}
